FROM golang:alpine as builder

COPY . /

RUN cd /src && \
    go build

FROM alpine

COPY --from=builder /src/share-copilot /share-copilot

WORKDIR /

CMD ["./share-copilot"]
